package com.lee9213.demo.biz;


import com.lee9213.demo.entity.UserEntity;

import java.util.List;

/**
 * @author lee9213@163.com
 * @version 1.0
 * @date 2017-11-08 21:57
 */
public interface IUserBiz {

    /**
     * 添加对象
     *
     * @param entity
     * @return 主键ID
     */
    Long save(UserEntity entity);

    /**
     * 修改对象
     *
     * @param entity
     * @return
     */
    Integer update(UserEntity entity);

    List<UserEntity> list(UserEntity userEntity) ;
}
